# Author:	gong_libin
# Date:		2016_06_01
# protoc -I=. --cpp_out=. tanx-bidding.proto

CC = g++
CFLAGS = -g -Wall

GLB_ENV ?= /root/GtAdpTanx-2.1.0
GLB_BIN ?= $(GLB_ENV)/bin
GLB_INC ?= $(GLB_ENV)/inc
GLB_SRC ?= $(GLB_ENV)/src
GLB_TAN ?= $(GLB_ENV)/tanx

GLB_GLIB ?= /usr/lib
GLB_GINC ?= /usr/include/GtInc

GLB_OBJECTS =					\
	tanx-bidding.pb.o

all: $(GLB_OBJECTS)

$(GLB_OBJECTS): %.o: %.cc
	$(CC) -c $(CFLAGS) -I$(GLB_TAN) $< -o $@

clean:
	rm -rf $(GLB_OBJECTS)
